home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / ColorSync 3.0 Mac SDK / Interfaces / CMCalibrator.a < prev    next >
Encoding:
Text File  |  1999-10-28  |  2.0 KB  |  62 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        CMCalibrator.a
  3. ;
  4. ;    Contains:    ColorSync Calibration API
  5. ;
  6. ;    Version:    Technology:    ColorSync 2.5
  7. ;                Release:    ColorSync 3.0 SDK for use with Universal Interfaces 3.2
  8. ;
  9. ;    Copyright:    © 1998-1999 by Apple Computer, Inc., all rights reserved.
  10. ;
  11. ;    Bugs?:        For bug reports, consult the following page on
  12. ;                the World Wide Web:
  13. ;
  14. ;                    http://developer.apple.com/bugreporter/
  15. ;
  16. ;
  17.     IF &TYPE('__CMCALIBRATOR__') = 'UNDEFINED' THEN
  18. __CMCALIBRATOR__ SET 1
  19.  
  20.     IF &TYPE('__CMAPPLICATION__') = 'UNDEFINED' THEN
  21.     include 'CMApplication.a'
  22.     ENDIF
  23.     IF &TYPE('__DISPLAYS__') = 'UNDEFINED' THEN
  24.     include 'Displays.a'
  25.     ENDIF
  26.     IF &TYPE('__ERRORS__') = 'UNDEFINED' THEN
  27.     include 'Errors.a'
  28.     ENDIF
  29.  
  30.  
  31. ;  Interface for new ColorSync monitor calibrators (ColorSync 2.6 and greater) 
  32.  
  33.  
  34. kCalibratorNamePrefix            EQU        'cali'
  35. CalibratorInfo            RECORD 0
  36. dataSize                 ds.l    1                ; offset: $0 (0)        ;  Size of this structure - compatibility 
  37. displayID                 ds.l    1                ; offset: $4 (4)        ;  Contains an hDC on Win32 
  38. profileLocationSize         ds.l    1                ; offset: $8 (8)        ;  Max size for returned profile location 
  39. profileLocationPtr         ds.l    1                ; offset: $C (12)        ;  For returning the profile 
  40. eventProc                 ds.l    1                ; offset: $10 (16)        ;  Ignored on Win32 
  41. isGood                     ds.b    1                ; offset: $14 (20)        ;  true or false 
  42.                          ORG 22
  43. sizeof                     EQU *                    ; size:   $16 (22)
  44.                         ENDR
  45.     IF OLDROUTINENAMES THEN
  46. ;  Interface for original ColorSync monitor calibrators (ColorSync 2.5.x) 
  47.  
  48. kOldCalibratorNamePrefix        EQU        'Cali'
  49. OldCalibratorInfo        RECORD 0
  50. displayID                 ds.l    1                ; offset: $0 (0)        ;  Contains an hDC on Win32 
  51. profileLocation             ds        CMProfileLocation ; offset: $4 (4)
  52. eventProc                 ds.l    1                ; offset: $106 (262)    ;  Ignored on Win32 
  53. reserved                 ds.l    1                ; offset: $10A (266)    ;  Unused 
  54. flags                     ds.l    1                ; offset: $10E (270)    ;  Unused 
  55. isGood                     ds.b    1                ; offset: $112 (274)    ;  true or false 
  56. byteFiller                 ds.b    1                ; offset: $113 (275)    ;  Unused 
  57. sizeof                     EQU *                    ; size:   $114 (276)
  58.                         ENDR
  59.     ENDIF    ; OLDROUTINENAMES
  60.     ENDIF ; __CMCALIBRATOR__ 
  61.  
  62.